//
//  HTAreaModel.h
//  TruckDriver
//
//  Created by Ting Han on 2017/10/10.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    HTAreaTypeProvince,//省
    HTAreaTypeDirectCity,//直辖市
    HTAreaTypeCity,//市
    HTAreaTypeArea,//区
    HTAreaTypeNo,//无所属，直接返回
} HTAreaType;

@interface HTAreaModel : NSObject <NSCoding>

@property (nonatomic,copy) NSString *title;
@property (nonatomic,assign) HTAreaType areaType;

@property (nonatomic,copy) NSString *provinceString;
@property (nonatomic,copy) NSString *cityString;

+ (instancetype)areaModelWithTitle:(NSString *)title areaType:(HTAreaType)areaType;
@end
